package com.zjsru.payment.fallback;


import com.zjsru.payment.clients.OrderClient;
import com.zjsru.payment.pojo.Result;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;

@Component
public class OrderClientFallback implements OrderClient {
    @Override
    public Result updateOrderStatus(@PathVariable("order_Id") Long order_Id) {
        return Result.error(500,"服务异常");
    }
}
